import { hot } from "react-hot-loader/root";
import React, { useEffect } from "react";

interface IProps {
  url: string;
}

const PhotoPreview: React.FC<IProps> = ({ url }) => {
  const imgClick = () => {};
  useEffect(() => {}, []);
  return (
    <span className="photo_preview">
      <img src={url} alt="" onClick={imgClick} />
      <div>fasd发发送到发送发斯蒂芬发送到阿萨德发送到到ff</div>
    </span>
  );
};

export default PhotoPreview;
